package net.pinnoocle.playdao.entity.shopPc.banner;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.pinnoocle.playdao.entity.group.UpdateGroup;

import javax.validation.constraints.NotNull;

/**
 * @author ye
 * @Description
 * @create 2021-11-13 11:55
 */
@Data
public class SaveBannerParams {

    @ApiModelProperty("主键id")
    @NotNull(message = "主键id不能为空",groups = UpdateGroup.class)
    private String bannerId;

    @ApiModelProperty("横幅标题")
    private String bannerTitle;

    @ApiModelProperty("图片地址")
    @NotNull(message = "请上传横幅图片")
    private String bannerUrl;

    @ApiModelProperty("跳转地址")
    private String jumpUrl;

    @ApiModelProperty(value = "门店id",hidden = true)
    private String shopId;
}
